package com.googlecode.ozonbooksfinder.matefinder.events
{
	import flash.events.Event;

	public class AppNavigationEvent extends Event
	{
		public static const SEARCH_MODE_CHANGE:String = "searchModeChange";
		public static const SET_LIST_MODE:String = "setListMode";
		public static const ABOUT_DIALOG_EVENT:String = "aboutDialogEvent";
		
		public var searchMode:Boolean = true;
		
		public function AppNavigationEvent(type:String, 
			bubbles:Boolean=true, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event
		{
			var result:AppNavigationEvent = 
				new AppNavigationEvent (type, bubbles, cancelable);
			result.searchMode = searchMode;
			return result;
		}
	}
}